import axios from '../index'

export function userLogin(data) {
    return axios({
        url: '/user/login',
        method: 'POST',
        data: {
            username: data.username,
            password: data.password
        }
    })
}